import request from '@/utils/request'

const api = {
  upload: '/admin/Upload/index'
}

export function upload (parameter) {
  return request({
    url: api.upload,
    method: 'post',
    data: parameter
  })
}
